home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Bomber Fortress.swf / scripts / DefineButton2_125 / BUTTONCONDACTION on(keyPress Up).as
Encoding:
Text File  |  2006-06-13  |  206 b   |  8 lines

  1. on(keyPress "<Up>"){
  2.    if("25" < getProperty("/plane", _Y))
  3.    {
  4.       setProperty("/5", _Y, getProperty("/5", _Y) - "20");
  5.       setProperty("/plane", _Y, getProperty("/plane", _Y) - "20");
  6.    }
  7. }
  8.